package com.lannuokeji.biz.items.mapper;

import com.lannuokeji.biz.items.entity.DeviceApply;
import com.lannuokeji.biz.items.request.DeviceApplyRequest;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 申请设备 Mapper 接口
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
public interface DeviceApplyMapper extends BaseMapper<DeviceApply> {

	List page(@Param("page")Page page, @Param("deviceApply")DeviceApply deviceApply);

	int insertDeviceOfApply(@Param("deviceApplyRequest")DeviceApplyRequest deviceApplyRequest, @Param("applyId")int applyId);

}
